<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - Directory _lhmf/src/it/polito/ai/lhmf/orm/</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>Directory _lhmf/src/it/polito/ai/lhmf/orm/</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a></div>
<dl class="attributes">
    <dt>Directory Created:</dt>
    <dd><span class="date">2012-06-12 15:36</span></dd>
    <dt>Total Files:</dt>
    <dd>13</dd>
    <dt>Deleted Files:</dt>
    <dd>0</dd>
    <dt>Lines of Code:</dt>
    <dd>1769</dd>
</dl>
<p class="dirtree">
<a href="dir.html">[root]</a>/<a href="dir__lhmf.html">_lhmf</a>/<a href="dir__lhmf_src.html">src</a>/<a href="dir__lhmf_src_it.html">it</a>/<a href="dir__lhmf_src_it_polito.html">polito</a>/<a href="dir__lhmf_src_it_polito_ai.html">ai</a>/<a href="dir__lhmf_src_it_polito_ai_lhmf.html">lhmf</a>/<strong>orm</strong><br/>
</p>

<div class="section">
<h2>Lines of Code</h2>
<p class="chart"><img src="loc_module__lhmf_src_it_polito_ai_lhmf_orm.png" alt="_lhmf/src/it/polito/ai/lhmf/orm/ Lines of Code" width="800" height="500" /></p></div>
<div class="section">
<h2>Developers</h2>
  <table  rules="groups" summary="All authors and the number of their changes and lines of code in this directory">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Author</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <th>Totals</th>
        <td>39 (100.0%)</td>
        <td>2330 (100.0%)</td>
        <td>59.7</td>
      </tr>
    </tfoot>
    <tbody>
      <tr  class="odd">
        <th><a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a></th>
        <td>21 (53.8%)</td>
        <td>2089 (89.7%)</td>
        <td>99.4</td>
      </tr>
      <tr  class="even">
        <th><a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a></th>
        <td>17 (43.6%)</td>
        <td>240 (10.3%)</td>
        <td>14.1</td>
      </tr>
      <tr  class="odd">
        <th><a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a></th>
        <td>1 (2.6%)</td>
        <td>1 (0.0%)</td>
        <td>1.0</td>
      </tr>
    </tbody>
  </table>

</div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="9"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-25 14:22</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">182</span></span>
  </dt>
  <dd>
    <p class="comment">
Tolta annotazione catalog da hibernate mapping; aggiunte classi dimenticare scorso commit
    </p>
    <p class="commitdetails"><strong>10</strong> lines of code changed in <span class="files">6 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Member.java&#160;<span class="change">(+5&#160;-5)</span>,
        Message.java&#160;<span class="change">(+1&#160;-1)</span>,
        Notify.java&#160;<span class="change">(+1&#160;-1)</span>,
        Order.java&#160;<span class="change">(+1&#160;-1)</span>,
        Product.java&#160;<span class="change">(+1&#160;-1)</span>,
        Supplier.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="8"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-25 12:24</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">179</span></span>
  </dt>
  <dd>
    <p class="comment">
mapping completato e riportato nel progetto principale
    </p>
    <p class="commitdetails"><strong>106</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Notify.java&#160;<span class="change">(+30&#160;-7)</span>,
        Product.java&#160;<span class="change">(+61&#160;-74)</span>,
        Supplier.java&#160;<span class="change">(+15&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="7"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-07-24 22:29</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">177</span></span>
  </dt>
  <dd>
    <p class="comment">
database: product: aggiunto collegamento con supplier<br />
          notifiy: modificato text in VARCHAR(300)<br />
<br />
mapping: rifare mapping di Product, Supplier e Notify
    </p>
    <p class="commitdetails"><strong>262</strong> lines of code changed in <span class="files">5 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Member.java&#160;<span class="change">(+101&#160;-114)</span>,
        Message.java&#160;<span class="change">(+78&#160;-6)</span>,
        Order.java&#160;<span class="change">(+25&#160;-5)</span>,
        Purchase.java&#160;<span class="change">(+15&#160;-5)</span>,
        Supplier.java&#160;<span class="change">(+43&#160;-205)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="6"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-15 17:11</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">123</span></span>
  </dt>
  <dd>
    <p class="comment">
Tolte annotazioni JSONSerialize/Deserialize da classi orm package - fa tutto il CustomObjectMapper; aggiunto il deserializzatore per ProductCategory; aggiunta funzione per ricevere i prodotti solo del supplier che fa la richiesta; corrette alcune query hql delle interfacce (per la prossima revisione saranno tutte corrette)
    </p>
    <p class="commitdetails"><strong>0</strong> lines of code changed in <span class="files">5 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Member.java&#160;<span class="change">(-8)</span>,
        Product.java&#160;<span class="change">(-8)</span>,
        ProductCategory.java&#160;<span class="change">(-5)</span>,
        Purchase.java&#160;<span class="change">(-5)</span>,
        Supplier.java&#160;<span class="change">(-8)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="5"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 17:04</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">94</span></span>
  </dt>
  <dd>
    <p class="comment">
Added annotation on Member to deserialize it with MemberDeserializer
    </p>
    <p class="commitdetails"><strong>102</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Member.java&#160;<span class="change">(+102&#160;-49)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 17:02</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">93</span></span>
  </dt>
  <dd>
    <p class="comment">
Added MemberDeserializer; regDate have to be serialized?
    </p>
    <p class="commitdetails"><strong>120</strong> lines of code changed in <span class="files">4 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Member.java&#160;<span class="change">(+5)</span>,
        Product.java&#160;<span class="change">(+78&#160;-35)</span>,
        ProductCategory.java&#160;<span class="change">(+5)</span>,
        Purchase.java&#160;<span class="change">(+32&#160;-13)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_francesco.brundu@gmail.com.html" class="author">francesco.brundu@gmail.com</a>
    <span class="date">2012-07-13 16:10</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">92</span></span>
  </dt>
  <dd>
    <p class="comment">
CRUD and ajax for Supplier; unable to test -&gt; to do as soon as possible; added class to deserialize Date from JSON to Java
    </p>
    <p class="commitdetails"><strong>8</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Supplier.java&#160;<span class="change">(+8)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_hasmet87@gmail.com.html" class="author">hasmet87@gmail.com</a>
    <span class="date">2012-07-11 17:57</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">83</span></span>
  </dt>
  <dd>
    <p class="comment">

    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Order.java&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_l.moretto88@gmail.com.html" class="author">l.moretto88@gmail.com</a>
    <span class="date">2012-06-12 15:36</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">31</span></span>
  </dt>
  <dd>
    <p class="comment">
-aggiunto Filter per sessioni hibernate. Ad ogni richiesta viene automaticamente creata una sessione, dalla quale si crea una transazione. La Session viene messa come attributo nella request e deve essere usata per accedere al database. quando il controllo torna al filtro, esso fa il commit della transazione. se vengono sollevati Throwable, viene fatto il rollback della transazione.
    </p>
    <p class="commitdetails"><strong>1721</strong> lines of code changed in <span class="files">13 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>_lhmf/src/it/polito/ai/lhmf/orm</strong>:
        Log.java&#160;<span class="new">(new&#160;83)</span>,
        Member.java&#160;<span class="new">(new&#160;309)</span>,
        MemberStatus.java&#160;<span class="new">(new&#160;70)</span>,
        MemberType.java&#160;<span class="new">(new&#160;70)</span>,
        Message.java&#160;<span class="new">(new&#160;96)</span>,
        Notify.java&#160;<span class="new">(new&#160;83)</span>,
        Order.java&#160;<span class="new">(new&#160;144)</span>,
        Product.java&#160;<span class="new">(new&#160;223)</span>,
        ProductCategory.java&#160;<span class="new">(new&#160;72)</span>,
        Purchase.java&#160;<span class="new">(new&#160;88)</span>,
        PurchaseProduct.java&#160;<span class="new">(new&#160;83)</span>,
        PurchaseProductId.java&#160;<span class="new">(new&#160;68)</span>,
        Supplier.java&#160;<span class="new">(new&#160;332)</span>
      </li>
    </ul>
  </dd>

</dl>

</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>